package com.shiguiwu.springmybatis.spring.lifecycle.init;

import org.springframework.beans.factory.InitializingBean;

/**
 * @description: 初始化bean
 * @author: stone
 * @date: Created by 2021/3/28 13:04
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.spring.lifecycle.init
 */
public class InitializeBean implements InitializingBean {

    public void init() {
        System.out.println("初始化方法！！！！");

    }
    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("afterPropertiesSet");

    }
}
